package cn.exrick.xboot.base.service

import cn.exrick.xboot.base.entity.SecurityAdvisorJobTrain
import cn.exrick.xboot.base.vo.SecurityAdvisorJobTrainVo
import cn.exrick.xboot.base.vo.SecurityAdvisorTrainingInfoVo
import cn.exrick.xboot.core.common.vo.PageVo
import cn.exrick.xboot.core.common.vo.Result
import com.baomidou.mybatisplus.extension.service.IService

/**
 * 安全顾问岗位培训上传接口
 * @author Fei
 */
interface ISecurityAdvisorJobTrainService : IService<SecurityAdvisorJobTrain?> {


    /**
     * 添加或者更新培训
     */
    fun createOrUpdateJobTrain(securityAdvisorJobTrain: SecurityAdvisorJobTrain): Result<Any?>?

    /**
     * 移除安全培训
     */
    fun removeJobTrain(ids: Array<out String>): Result<Any?>?

    /**
     * 获取岗位封装实体
     */
    fun getJobTrainVo(id: String): SecurityAdvisorJobTrainVo?

    /**
     * 获取岗位培训列表
     */
    fun getJobTrainList(pageVo: PageVo, jobType: Int?, enterpriseId: String?, jobId: String?, roleType: Int?): Result<MutableMap<String, Any?>>?


    /**
     * 安全顾问获取企业员工的培训详情
     */
    fun getEmployeeTrainingDetail(employeeId: String): Result<SecurityAdvisorTrainingInfoVo>?

}